﻿#region using

using WebActivator;

#endregion

[assembly: PreApplicationStartMethod(typeof(TodoList.App_Start.StructureMap), "Start")]

namespace TodoList.App_Start
{
    #region using

    using Service;
    using Service.EF;
    using global::StructureMap;

    #endregion

    public static class StructureMap
    {
        #region Public Methods

        public static void Start()
        {
            ObjectFactory.Configure(
                container => container.For<ITodoService>().HybridHttpOrThreadLocalScoped().Use<TodoService>());
        }

        #endregion
    }
}